function boolean = routeContainsEdge( route_vector, edge_vector )
%projedu route a podivam se, zda obsahuje hranu (edge)

    boolean = 0;

    for i=1:length(route_vector)-1
       
        if ( (route_vector(1, i) == edge_vector(1, 1) && route_vector(1, i+1) == edge_vector(1, 2)) || (route_vector(1, i) == edge_vector(1, 2) && route_vector(1, i+1) == edge_vector(1, 1)) )
           
             boolean = 1;
             return;
        end
    end


end

